Popular Posts
CTE, recursive search WITH DepartmentSearch(DeptID, DeptParent, DeptName, OuID) AS (     -- 找出簽核者所屬部門     SELECT d.DeptID, d.DeptParent, d.DeptName, d.OuID     FR... LogonUser Function : impersonate a windows user // This sample demonstrates the use of the WindowsIdentity class to impersonate a user. // IMPORTANT NOTES:  // This sample can be run only ... Invoke Gson#toJson() on anonymous class Create a anonymous object and try to serialize instance via gson. The code is below Result of execution. null result when serialize a an...
Stats
assign value
data: S1(10) value '0123456789',
      S2(10).

S2 = S1.            " move S1 to S2.
write / S2.
clear S2.

S2 = S1+5(5).       " move S1+5(5) to S2.
write / S2.

S2+5(5) = S1(5).    " move S1(5) to S2+5.
write / S2.
clear S2.
0123456789
56789
5678901234
data: begin of ADDRESS,
        FIRST_NAME(10) value 'Bruce',
        LAST_NAME(10) value 'Tsai',
        TEL(12) value '28883912',
      end of ADDRESS.

data: begin of ACCOUNT,
        FIRST_NAME(10),
        LAST_NAME(10),
        EMAIL(50),
      end of ACCOUNT.

move-corresponding ADDRESS to ACCOUNT.
write / ACCOUNT-FIRST_NAME.
write / ACCOUNT-LAST_NAME.
Bruce
Tsai