Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 23:55 05 Jul 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Possible bug in data/read for ints:4.6v20

Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10205
Posted: 07:47am 11 Nov 2014
Copy link to clipboard 
Print this post

Hi

I may be missing something but there seems to be a problem with integers in a data/read structure?
option default integer
data &H0000003E5B4F5B3E, &H0000003E6B4F6B3E, &H0000001C3E7C3E1C
read a,b,c
print hex$(a,16),hex$(b,16),hex$(c,16)

gives:
0000000052796D3D 000000005279AD3E 0000000051E1F3E2


Edited by matherp 2014-11-13
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3282
Posted: 04:51pm 13 Nov 2014
Copy link to clipboard 
Print this post

Thanks, you have found a bug. The READ command does not correctly read integers.

It will be fixed in the next beta release.

Much appreciated,
Geoff
Geoff Graham - http://geoffg.net
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025