Search found 4 matches

by PhilR1
Tue Apr 23, 2013 8:54 pm
Forum: Coding Questions
Topic: Native types can't be used with pointers
Replies: 5
Views: 1393

Re: Native types can't be used with pointers

The author fixed it.

Just fyi this is what he said:

The problem was that some pointer had native PureBasic Types, like this:
global *pointer.s
The latest PB is really strict about this, so you have to change it to the recommended: global *pointer, instead.

Thanks for your responses
by PhilR1
Tue Apr 23, 2013 6:18 pm
Forum: Coding Questions
Topic: Native types can't be used with pointers
Replies: 5
Views: 1393

Native types can't be used with pointers

I'm trying to compile an example program to run eSpeak and the above message is generated from the following code:
Is this a genuine syntax error or am I missing some option that needs to be set in the complier?

StructureUnion
number.l; ; used for WORD and SENTENCE events. For PHONEME events this ...
by PhilR1
Sat Apr 20, 2013 8:48 pm
Forum: Coding Questions
Topic: Gadget setup question
Replies: 2
Views: 624

Gadget setup question

Why does this work . ..

If OpenWindow(0, 0, 0, 270, 160, "TextGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
TextGadget(0, 10, 10, 250, 20, "TextGadget Standard (Left)")
TextGadget(1, 10, 70, 250, 20, "TextGadget Center", #PB_Text_Center)
TextGadget(2, 10, 40, 250, 20, "TextGadget ...
by PhilR1
Mon Apr 15, 2013 4:40 pm
Forum: Tricks 'n' Tips
Topic: SerialPort Demo (PB4.5)
Replies: 14
Views: 16807

Re: SerialPort Demo (PB4.5)

This works well in Windows after I define red and green.
What about Linux?
I know I have to change designation of the serial port but what about the user interface.
The text is all too big and the buttons don't seem to work right.

Thanks!