//as_parm [] (by ref). For passing multiple arguments between window
//parameters: as_parmstring: '; 'as a separator string composed of multiple parameter
//as_parm [] : storing the independent parameters of the decomposed
//the return value: successful, returns the number of variables; Otherwise, return 1
//preparation: Xu Xue cure/31566426
Integer li_finger li_start=1, li_counter, I
String ls_fz//just do the test, no practical significance
If as_parmstring="" then return 1
Li_finger=pos (as_parmstring, '; ', li_start)
The do while li_finger & gt; 0
Li_counter + +
As_parm [li_counter]=mid (as_parmstring li_start, li_finger - li_start)
Ls_fz=as_parm [li_counter]
Li_start=li_finger + 1
Li_finger=pos (as_parmstring, '; ', li_start)
Loop
If li_start & lt;=len (as_parmstring) then
Li_counter + +
As_parm [li_counter]=mid (as_parmstring li_start, len (as_parmstring) - li_start + 1)
End the if
Return li_counter
CodePudding user response:
To encourage, but this code is not a C or C + +,CodePudding user response:
Can try to expand,CodePudding user response:
Learning how to learnCodePudding user response:
Just to be,CodePudding user response:
Thanks for sharing thank youCodePudding user response:
Why not return character after break up? What's the meaning of return number?CodePudding user response:
Long time no come, rob,