Advertisement
Mysoft

Untitled

Mar 30th, 2024 (edited)
1,414
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. dim st as string = !"hello\0 world"
  2. dim x as ubyte ptr = @st[0]
  3. do until st[x] = asc(!"\0")
  4.     print chr(st[x])
  5.     x += 1
  6. loop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement