Page 1 of 1

how to enhance AT() to 3rd.Parameter Position ?

Posted: Wed Nov 26, 2025 2:43 pm
by Jimmy

hi,
in Xbase++ Function AT() have 3 Parameter

Code: Select all | Expand

Syntax 

At( <cSubString>, <cString>, [<nStartPos>] ) --> nPosition 

under harbour it have only 2 Parameter. how to enhance harbour Function with 3rd Parameter ?


Re: how to enhance AT() to 3rd.Parameter Position ?

Posted: Wed Nov 26, 2025 3:46 pm
by Jimmy

hi,

found it it is called HB_AT() under harbour ...

now next : where do i find UUIDCREATE() under harbour ?
how is it called under harbour ?
in which LIB ?


Re: how to enhance AT() to 3rd.Parameter Position ?

Posted: Wed Nov 26, 2025 4:23 pm
by alerchster

Code: Select all | Expand

#require "hbwin"

FUNCTION Main()
   LOCAL cUUID
   
cUUID := win_UuidCreateString() ? "UUID:", cUUID
// Alternative: als Binär-Array // cUUID := win_UuidCreate()
RETURN NIL

Re: how to enhance AT() to 3rd.Parameter Position ?

Posted: Wed Nov 26, 2025 9:10 pm
by Jimmy

hi,

thx for help.
it seems to work, no unknown any more :)

Jimmy