Author Topic: What is O2 equivalent to PB NUL$()  (Read 963 times)

0 Members and 1 Guest are viewing this topic.

chrisc

  • Guest
What is O2 equivalent to PB NUL$()
« on: March 19, 2018, 09:57:04 AM »
Hello

in PB, there is a NUL$() function which return a null or blank string consisting of a specified number of characters

for example 
       DIM gast as string
       gast = NUL$(10)

        will give a string of 10 blank characters

     what is the O2 equivalent function?
     the below code is what i use for O2 now which is not efficint
     
Code: [Select]

     local gast as string
     gast = "           " 

appreciate any help





Mike Lobanovsky

  • Guest
Re: What is O2 equivalent to PB NUL$()
« Reply #1 on: March 19, 2018, 12:08:52 PM »
Pls see below.

chrisc

  • Guest
Re: What is O2 equivalent to PB NUL$()
« Reply #2 on: March 19, 2018, 01:05:16 PM »
thanxx a lot mike
good to know that it is in the o2 help