Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Code for device only

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-11-2010, 11:07 PM
Senior Member
 
Join Date: Sep 2009
Location: Surrey, UK
Posts: 111
Default Code for device only

I know that somewhere I've seen a snippet of code for separating out lines in a program that are for the device only. However, I can't find it again whatever search term I use.

Would some kind person please point me in the right direction?

Many thanks.

Caravelle
__________________
Caravelle
I learn by my mistakes - so I learn a lot in a short time.
Reply With Quote
  #2 (permalink)  
Old 07-12-2010, 08:25 AM
ExcludeReality's Avatar
Senior Member
 
Join Date: Nov 2008
Location: Greenville, South Carolina
Posts: 166
Default

I guess you mean:

Code:
If cPPC = True then
      CODE HERE
End If
__________________
Codito, ergo sum
"I code, therefore I am"
Reply With Quote
  #3 (permalink)  
Old 07-12-2010, 04:59 PM
Senior Member
 
Join Date: Sep 2009
Location: Surrey, UK
Posts: 111
Default

I guess I do. I spent 45 minutes looking for it.

I have a program which accesses file locations on the device, and to test it on the desktop I need to provide alternative file locations.

Many thanks

Caravelle
__________________
Caravelle
I learn by my mistakes - so I learn a lot in a short time.
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 Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Code of Device Button reny1978to Questions (Windows Mobile) 2 05-07-2009 09:12 AM
Same code runs OK on desktop, but not on the device. Cableguy Questions (Windows Mobile) 8 07-22-2008 10:24 PM
When compiling for Device, Desktop code is used Woinowski Bug Reports 6 07-03-2008 10:30 PM
Source Code Folders On The Device RandomCoder Basic4ppc Wishlist 13 03-23-2008 02:01 PM
Search function in Help on device code editor Woinowski Basic4ppc Wishlist 2 08-26-2007 03:42 PM


All times are GMT. The time now is 12:52 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0