Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


External compiler error


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-19-2008, 04:23 PM
prinsen's Avatar
Newbie
 
Join Date: Mar 2008
Location: Netherlands
Posts: 5
Default External compiler error

Can someone help me?

I am working on a program which works great with b4ppc 6.0
Running it with F5 (run-mode) it all works great ; no errors at all.
Compiling it to device gives me the following error:
External complier error
Error message : error CS1525
Line 108

Line 108 works normally in F5-mode; this is line 108:
Table3.LoadCSV("\interface\LGXVRDMU.CSV", ",", True)

Thanks if anyone can help me.

Jorrit.
Reply With Quote
  #2 (permalink)  
Old 03-19-2008, 04:38 PM
Senior Member
 
Join Date: Mar 2008
Posts: 114
Default

Quote:
Table3.LoadCSV("\interface\LGXVRDMU.CSV" ,",", True)
perhaps move the " to the other side of the comma?

Last edited by badkarma : 03-19-2008 at 04:42 PM.
Reply With Quote
  #3 (permalink)  
Old 03-19-2008, 04:50 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,900
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

From Help -> Main Help -> Controls -> Table -> LoadCSV

Table1.LoadCSV ("data.csv", ",", True, True)

You are missing a parameter, the IDE and legacy compiler aren't as fussy as the optimising compiler.
Reply With Quote
  #4 (permalink)  
Old 03-19-2008, 04:51 PM
Senior Member
 
Join Date: Mar 2008
Posts: 114
Default

Ignore me, just realised "," is the comma sep variable...
Reply With Quote
  #5 (permalink)  
Old 03-19-2008, 08:45 PM
prinsen's Avatar
Newbie
 
Join Date: Mar 2008
Location: Netherlands
Posts: 5
Default

You are right. Thanks, it's all working now again.

An extra 'true' and it works.
Am I correct that in version 5 of b4ppc the help was different e.g. the loadcsv did not have the extra true (for create colomns)?

PS: I also got errors in v6 of b4ppc when using:
QTsscccode.SelectionStart = ""
instead I now use QTsscccode.SelectionStart = 0 and it's ok too.

Regards

Jorrit/Prinsen
Reply With Quote
  #6 (permalink)  
Old 03-19-2008, 08:54 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,335
Default

As much as I remember the syntax didn't change in version 5.00.

SelectionStart is a number that represents the index of the first character in the selection.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Optimizing Compiler Error? Louis Questions & Help Needed 5 09-20-2008 04:00 PM
Compiler error CS1519 Filippo German Forum 3 07-16-2008 09:06 PM
Compiler error CS1519 mamuen Questions & Help Needed 9 07-14-2008 05:41 AM
Get External IP (public IP) maXim Code Samples & Tips 1 05-23-2008 09:09 AM
Error loading external library? Frank Questions & Help Needed 3 09-24-2007 03:54 PM


All times are GMT. The time now is 07:54 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0