|
楼主 |
发表于 2023-11-25 12:40:22
|
显示全部楼层
- func _arrayadd(byref $aarray, $vvalue, $istart = 0, $sdelim_item = "|", $sdelim_row = @crlf, $iforce = $arrayfill_force_default)
- if $istart = default then $istart = 0
- if $sdelim_item = default then $sdelim_item = "|"
- if $sdelim_row = default then $sdelim_row = @crlf
- if $iforce = default then $iforce = $arrayfill_force_default
- if not isarray($aarray) then return seterror(1, 0, -1)
- local $idim_1 = ubound($aarray, $ubound_rows)
- local $hdatatype = 0
- switch $iforce
- case $arrayfill_force_int
- $hdatatype = int
- case $arrayfill_force_number
- $hdatatype = number
- case $arrayfill_force_ptr
- $hdatatype = ptr
- case $arrayfill_force_hwnd
- $hdatatype = hwnd
- case $arrayfill_force_string
- $hdatatype = string
- case $arrayfill_force_boolean
- $hdatatype = "boolean"
- endswitch
复制代码
|
|