Raised This Month: $ Target: $400
 0% 

switch a value for stock


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-03-2015 , 10:48   Re: switch a value for stock
Reply With Quote #1

Show us exactly what you did because there is nothing wrong with what you have shown
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Process
Junior Member
Join Date: Jan 2015
Location: Banned
Old 01-03-2015 , 12:59   Re: switch a value for stock
Reply With Quote #2

when i set

Code:
stock type(value){         switch(value){         case 1 : return 1;     } }

then when i add it in a public

type(1)

they give me this error Error: Only a single statement (or expression) can follow each "case"
Process is offline
Reply



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:29.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode