Author Topic: Chr$(0)  (Read 2572 times)

Offline Albert

  • Dr. Type
  • ****
  • Posts: 257
    • View Profile
    • Blog
Chr$(0)
« on: 2008-Mar-04 »
string$=CHR$(100) + CHR$(0) + CHR$(101)

The result is CHR$(100) + CHR$(101)
The CHR$(0) do nothing, you can't put CHR$(0) into a string :(

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10762
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Chr$(0)
« Reply #1 on: 2008-Mar-04 »
no, chr$(0) is a end-of-string character. You cannot use it.

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 5081
  • O Rly?
    • View Profile
Chr$(0)
« Reply #2 on: 2008-Mar-13 »
yepp, CHR$(0) == Nothing :D
I <3 DGArray's :D

PC:
AMD Ryzen 7 1700 @3.9GHz, 16GB HyperX Fury 3000MHz Ram, ASUS ROG GTX 1060 STRIX 6GB, Windows 10 Pro 64Bit, MSi Tomahawk B350 Mainboard