Recent posts

#21
Code to share / Calculation example 4
Last post by Frank Brübach - May 13, 2024, 06:05:41 PM
[Code[
' francolinox/halProment-Basic
'-- new features: pys, p?, msgbox
'-- calc example 4
'
pim a,b,c,d,e as pro
pim z as pys
z=3
a=20
b=30
c=40
d=a*b
e=d*b
string s,st
pstring strx
strx = "powerbasic is a good basic program"
p? strx
s="Hello Batman " + str(d)
st="Hello Superman " + str(e)
print s
printy st
p? z
msgbox "hello"
#22
Code to share / Calculations and function
Last post by Frank Brübach - May 13, 2024, 06:01:33 PM
Next calculation example, printy and p?, pstring,

' simple calc with printy and p?
' and two different functions with a friendly pbmain()
'

pim a,b,c,d,e as pro
pim s,st as pstring

a=30
b=40
c=50
d=a*b
e=d*c
s= "Hello Superman "+str(d)
st= "Hello Ironman "+str(e)
printy s
p? st

function pbmain() as long
pro a=2345
pstring s="I am thor "+a
'print s
return a
end function

print pbmain() '2345

function pbmain() as long
pro a=2345
pstring s="I am thor "+a
print s
'return a
end function

pbmain() ' I am Thor 2345
#23
Code to share / Re: Example Intro and HalProm...
Last post by Frank Brübach - May 13, 2024, 05:51:20 PM
Hello all :) 👋

Made Last days for me an important Update of HalPromentBasic ...
I have changed some functions and Keywords.. its running all on a 64-bit machine now too

Halpromide Editor Shows at the start a Photo of the Stanley Kubrick film 2001 space odyssee because the hal Name belongs to this movie :)

The new Update 2 you can find in First Post at this Board

Next Update will expand and enhance Power with include Files and exe File producing

Thx, Frank




#24
General Discussion / Brain Really Uses Quantum Effe...
Last post by Charles Pegge - May 13, 2024, 04:07:39 PM
New research supporting the Penrose-Hameroff model of consciousness:

Sabine Hossenfelder

#25
In this interview the hostilities flow the other way. I wonder whether the interviewer could have done anything to reprieve the situation.

Famous Journalist Storms Out of Interview | "I Actively Dislike You"

Alex O'Connor
Peter Hitchens
11 oct 2023




It reminds me (tenuously) of this famous sketch:

Rowan Atkinson - Interview with Elton John

23 mar 2009

#26
General Discussion / This ruined English spelling
Last post by Charles Pegge - May 11, 2024, 10:55:23 PM
RobWords

#27
OxygenBasic / Re: demo issues
Last post by Roland Stowasser - May 11, 2024, 10:19:30 AM
Hi Charles,

thank you for the updated Oxygenbasic.zip. I only checked on Github today because I did not expect this to happen so quickly. Currently, I am trying to revise an older project that uses some macros which involve uppercase and lowercase letters. I think it is quite good that I do not have to change this writing style.
#28
OxygenBasic / Re: demo issues
Last post by Charles Pegge - May 09, 2024, 04:02:52 PM
Thanks Roland,

This is a case-sensitivity issue affecting the iif macro in the program

Here is a quick fix:

macro iif int(r, a,b,c)
'if A then R=B else R=C
if a
  r=b
else
  r=c
endif
end macro

I will fix this compiler problem properly in the next update.
#29
OxygenBasic / Re: demo issues
Last post by Roland Stowasser - May 09, 2024, 02:40:00 PM
Hi Charles,

there is a small problem with /demos/Sound/KeyBoardMidi.o2bas. This app runs fine with oxygen.dll 07P10 (version 0.7.0 2024-01-01T14:45:45 32bit), but with the oxygen.dll in progress (version 0.70 2024-03-19T 10:02:07 32bit) I get this error message:

ERROR : not found
WORD:  r
PROC:    createThemenu
COL:      1
LINE:      422
FILE:      main source

This is a strange error message. If I comment out the createThemenu procedure the message happens in a different place. So I think there is something missing with oxygen.dll? Maybe I am using a version that is not up to date?
#30
AI Reset: "Life As We Know It Will Be Gone In 5 Years" - Upcoming Utopia vs Dystopia | Salim Ismail

Tom Bilyeu
7 may 2024


3hrs15