0 Members and 1 Guest are viewing this topic.
'pointer with byte type ...string s1="Aurel", s3= "_microA"byte b At strptr s1byte b1 At strptr s3bp = b+b1ps = @bp'p = @psprint ps
'pointer with byte type ...string s1="Aurel", s2= "_microA"string s3=s1+s2byte b[] at strptr s3 'array of ascii bytes
'string pointer string s = "viva" ,s2 = " LasVegas",ps'concat two strings ps = s+s2int p As string ptr' p hold addres of psp = @ps'print print p
...byte b[] at strptr s3 'array of ascii bytesprint b[3]''now reference b as a string againbstring bsstrptr(bs)=@bprint bs