Result = loadImage(#Image, Filename$ [ Flags]
can anybody help or direct me with some codes to load a photo Imagefile name: jpg.chester
into my program?
Thanks for a reply
Chester
Search found 10 matches
- Wed Nov 09, 2022 4:38 am
- Forum: Coding Questions
- Topic: Load Image photo::
- Replies: 7
- Views: 874
- Sat Oct 29, 2022 1:49 am
- Forum: Coding Questions
- Topic: Some simple to make the window Black when it open
- Replies: 16
- Views: 1922
Some simple to make the window Black when it open
OpenWindow(1,200,100,500,500,"Test",#PB_Window_SystemMenu)
;
Repeat
Until WaitWindowEvent() = #PB_Event_CloseWindow
;
Repeat
Until WaitWindowEvent() = #PB_Event_CloseWindow
- Sat Oct 29, 2022 1:28 am
- Forum: Coding Questions
- Topic: OpenWindowScreen:
- Replies: 5
- Views: 495
OpenWindowScreen:
;.............................................................................................................................
OpenWindow(1,200,100,500,500,"Test",#PB_Window_SystemMenu)
;
Repeat
Until WaitWindowEvent() = #PB_Event_CloseWindow ...
OpenWindow(1,200,100,500,500,"Test",#PB_Window_SystemMenu)
;
Repeat
Until WaitWindowEvent() = #PB_Event_CloseWindow ...
- Tue Oct 25, 2022 3:23 am
- Forum: Coding Questions
- Topic: Screen size
- Replies: 3
- Views: 565
Screen size
;- Screen constants
#SCREEN_WIDTH = 640
#SCREEN_HEIGHT = 480
;- Window Title
Title$ = "Blank Program"
;This is the start of our initialisation section - all we're doing here is setting up some variables & contants that will get used later. The most important constants are #SCREEN_WIDTH and #SCREEN ...
#SCREEN_WIDTH = 640
#SCREEN_HEIGHT = 480
;- Window Title
Title$ = "Blank Program"
;This is the start of our initialisation section - all we're doing here is setting up some variables & contants that will get used later. The most important constants are #SCREEN_WIDTH and #SCREEN ...
- Fri Oct 21, 2022 3:43 pm
- Forum: Coding Questions
- Topic: how can i get beep sound when abc = dice
- Replies: 3
- Views: 585
how can i get beep sound when abc = dice
OpenConsole()
abc = 3
;Repeat
Dice = Random(3,1)
PrintN("")
;Print (" Choice = " + Str(Choice))
;Print(" ")
;PrintN ("Dice = " + Str(Dice))
If abc = dice
;HOW CAN I GET A BEEP SOUND WHEN abc = dice*******************************************
PrintN ( " Chester " +Str(Dice ...
abc = 3
;Repeat
Dice = Random(3,1)
PrintN("")
;Print (" Choice = " + Str(Choice))
;Print(" ")
;PrintN ("Dice = " + Str(Dice))
If abc = dice
;HOW CAN I GET A BEEP SOUND WHEN abc = dice*******************************************
PrintN ( " Chester " +Str(Dice ...
- Sat Oct 15, 2022 4:39 am
- Forum: Coding Questions
- Topic: PrintN()
- Replies: 3
- Views: 446
PrintN()
;Can you correct this line for me?
;PrintN("My house" str(aNumber)
;-------------------------Number-Age-Name---------------------------
;EnableGraphicalConsole(#True)
;EnableExplicit
Global nNname.s
Define aAge
Define aNumber
OpenConsole()
;-----------------------------------
PrintN (" Enter ...
;PrintN("My house" str(aNumber)
;-------------------------Number-Age-Name---------------------------
;EnableGraphicalConsole(#True)
;EnableExplicit
Global nNname.s
Define aAge
Define aNumber
OpenConsole()
;-----------------------------------
PrintN (" Enter ...
- Thu Oct 13, 2022 2:46 pm
- Forum: Coding Questions
- Topic: how to print and display name and age?
- Replies: 1
- Views: 326
how to print and display name and age?
Code: Select all
EnableExplicit
EnableGraphicalConsole(#True)
Global Aname.s
OpenConsole()
PrintN(" ")
PrintN (" Enter your name?")
Aname.s = Input()
ClearConsole()
;--------------------------
PrintN (" Enter your age?")
b = Val(Input())
Input()
- Thu Oct 13, 2022 2:32 am
- Forum: Coding Questions
- Topic: Screen clear function
- Replies: 5
- Views: 630
Re: Screen clear function
This will just be an example:
PrintN ("Enter your name")
After I type a name how can I clear the screen after I hit enter.
PrintN ("Enter your name")
After I type a name how can I clear the screen after I hit enter.
- Thu Oct 13, 2022 2:01 am
- Forum: Coding Questions
- Topic: Screen clear function
- Replies: 5
- Views: 630
Screen clear function
I am trying to clear the screen after I type something, not the whole screen just after I get a output.
- Sun Oct 09, 2022 9:07 pm
- Forum: Coding Questions
- Topic: Input numbers and add them up:
- Replies: 21
- Views: 2169
Input numbers and add them up:
if someone can HELP me get started with a little simple program with purebasic to input numbers and add them up then display the total.
Thanks
Thanks