Oxygen Basic
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Latest OxygenBasic.zip at GitHub
(Click on the Wizard)
Home
Help
Search
Login
Register
Oxygen Basic
»
Programming
»
Problems & Solutions
»
char pattern problem with convertion
« previous
next »
Print
Pages: [
1
]
Author
Topic: char pattern problem with convertion (Read 1864 times)
0 Members and 1 Guest are viewing this topic.
Frankolinox
Guest
char pattern problem with convertion
«
on:
August 23, 2014, 09:38:31 AM »
lalala
«
Last Edit: October 01, 2014, 08:34:31 AM by Frankolinox
»
Logged
Charles Pegge
Guest
Re: char pattern problem with convertion
«
Reply #1 on:
August 23, 2014, 10:23:56 AM »
Hi Frank,
you can use the char construct directly:
try this:
s=chr (65,66,67,68,69,70) &
chr (97,98,99,100,101,102)
print s
Logged
JRS
Guest
Re: char pattern problem with convertion
«
Reply #2 on:
August 23, 2014, 10:31:49 AM »
I'm curious Charles. Does O2 support 0X22 or other numeric base numbering inline with standard (base 10) numbers? (Like SB)
Logged
Charles Pegge
Guest
Re: char pattern problem with convertion
«
Reply #3 on:
August 23, 2014, 10:49:07 AM »
Hi John,
O2 currently supports the following binary,octal & hexadecimal formats:
print 0b100 '4
print 0o100 '64
print 0h100 '256
print 0x100 '256
print &b100 '4
print &o100 '64
print &h100 '256
print 100o '64
print 100h '256
«
Last Edit: August 23, 2014, 10:58:02 AM by Charles Pegge
»
Logged
Print
Pages: [
1
]
« previous
next »
Oxygen Basic
»
Programming
»
Problems & Solutions
»
char pattern problem with convertion