To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.nxtOpen lugnet.robotics.nxt in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / NXT / 972
971  |  973
Subject: 
nbc gives error for SendRemoteString
Newsgroups: 
lugnet.robotics.nxt
Date: 
Tue, 23 Oct 2007 16:09:29 GMT
Viewed: 
25737 times
  
Hi,

has there been an undocumented change in the last nbc?

I have some programs that use SendRemoteString and I cannot compile them
any more (they compile with older versions).

This minimal prog:
--------------------
task main()
{
string out;
out="String";
SendRemoteString(0,5,out);
}
----------------------
compiles with ver b30 but with version b32 gives:

# Error: Error parsing expression: str
File "Err.nxc" ; line 6
#
#----------------------------------------------------------
# Error: Invalid array argument: __constVal0
File "Err.nxc" ; line 6
#   arrsize __SRSTmpVal, __constVal0
#----------------------------------------------------------

Or maybe (it happened) I am doing something wrong that the old version
didn't catch?

Any opinion?

Thanks,
GiP



Message has 1 Reply:
  Re: nbc gives error for SendRemoteString
 
(...) This is caused by a typo bug in the NXTDefs.h header that I accidentally introduced in beta 32. If you are running on a Windows box you can download a pre-release of beta 33 from the test_release.zip on the BricxCC page. I will have beta 33 up (...) (17 years ago, 25-Oct-07, to lugnet.robotics.nxt)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in NXT programmable brick

 
Verified and Trusted Team of Hackers
4 hours ago
Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR