Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - MarcoPajotter

Pages: [1]
1
Thanks everyone,

It works well, and I need some time now to make the good choice ...

And thanks for the quick responses.
 
Marco


2
QB64 Discussion / How to fill number (string) with previous 0 (zeros)
« on: April 23, 2021, 10:35:24 am »
Hello,

And yes I have a new question,

I'm numbering a list, from 0 ... 100, and I like this line numbers as "0001" ... "0100" and not "1" ... "100"

Q) How can I fill the string with previous zero's in front of the "1" to show it as "0001"

I already did this:

Code: QB64: [Select]
  1. COMMON SHARED MyNumberValue AS LONG
  2. COMMON SHARED MyNumberString AS STRING * 8
  3.  
  4. LET MyNumberValue = 1
  5.  
  6. LET MyNumberString = "00000000"
  7. RSET MyNumberString = LTRIM$ ( RTRIM$ ( STR$ (MyNumberValue)))
  8.  
  9. PRINT MyNumberString
  10. PRINT "00000001"
  11.  


But this is not showing the good result ...

Thanks,
Marco


3
QB64 Discussion / Re: My small walking robot project ...
« on: April 21, 2021, 04:12:54 pm »
Hi everyone,

first at all, thanks for your help.
it is nice to see some working solutions.
so I can start right away ...

it is a big project, so I will be a lot on this forum ;-)

greetings
Marco,

4
QB64 Discussion / My small walking robot project ...
« on: April 20, 2021, 08:45:47 am »
Hello everyone,

I love building small robots,
now I'm playing with the idea to build a walking robot.
I want to use a LATTE PANDA DELTA 432 - Win 10 pro x64 with a FHD display and QB64 for the GUI Human Machine Interface.
And an Arduino DUE for all the hardware connections, like GPS, 9 DOF sensor (compass, accelerator, )
So I need a USB serial connection between the LATTE PANDA and the ARDUINO DUE.

Q1) Is here someone who have some experiences with this communication ?
Q2) Is it possible to read and use the touch screen (mouse) data in QB64 ?

Greetings,
thanks,

Marco

PS: How can I show some images here on the forum ?

5
QB64 Discussion / Re: cannot convert expression type to symbol
« on: July 04, 2018, 04:21:40 pm »
Hello,

thanks for helping me with my problem ...

my program is about 5000 lines long,
what I did is cutting lines one by one,
first all lines I did not needed in my main base program ...
Then line by line, and still had the error message,
No red colored lines in the source to see ...

Till there was only 50 lines of my declarations left ...

and after cutting them again on by one, I found this error

COMMON SHARED DocNr() AS STRING * 4

I changed this in ...

DIM SHARED DocNr(1) AS STRING * 4

And Yes Yes Yes, it works OK
I lost some hours but I learned a lot ...

greetings,
marco



6
QB64 Discussion / cannot convert expression type to symbol
« on: July 04, 2018, 06:24:17 am »
Hello all,

I use QB64 to convert an old QB45 program to new windows environment.
All steps are debugged but now I receive the next message
'cannot convert expression type to symbol'
how can I debug this one ?
and where to look ?

thanks,
marc

Pages: [1]