electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
Live streaming at radio.electro-music.com

  host / artist show at your time
<on air> Jez Adventures in Sound
Please visit the chat
 Forum index » DIY Hardware and Software » Supercollider
Noob.. needs help with bbcut
Post new topic   Reply to topic Moderators: v-un-v
Page 1 of 1 [3 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
jirko



Joined: Dec 15, 2009
Posts: 59

PostPosted: Sat Jun 26, 2010 3:13 am    Post subject: Noob.. needs help with bbcut Reply with quote  Mark this post and the followings unread

hi,

i have installed the bbcut library and i'm trying to run the example, but i always get an error.

Mostly related to "var sf;"

• ERROR: Command line parse failed

nil

• ERROR: Parse error

in file 'selected text'

line 24 char 1:

(•

var sf;

sure i'm missing something.

any help will be much appreciated!

cheers
Back to top
View user's profile Send private message
jirko



Joined: Dec 15, 2009
Posts: 59

PostPosted: Sat Jun 26, 2010 2:55 pm    Post subject: Reply with quote  Mark this post and the followings unread

i found the solution!
Back to top
View user's profile Send private message
dewdrop_world



Joined: Aug 28, 2006
Posts: 858
Location: Guangzhou, China
Audio files: 4

PostPosted: Sun Jul 04, 2010 2:49 am    Post subject: Reply with quote  Mark this post and the followings unread

Cool

Looks like the usual confusion about code selection. If you don't have any code highlighted, sc tries to run only the single line where the cursor is. If that single line is only

(

then yeah, that's a syntax error Smile

For the benefit of future newbies who might stumble on this thread... the main SC help page says (my boldface):

Quote:
To execute code, use the keyboard shortcut: Enter (not Return), ctrl-Return, Ctrl-c, fn-Return, or Shift-Return (OS X, SCapp), Ctrl+Enter (Windows, PsyCollider), Ctrl+c Ctrl+c (Emacs), F5 (vim), Ctrl+e (gedit/sced). For key commands, also see Shortcuts.

To execute multiple lines, highlight (select) the entire block before pressing the execute key. Do not simply place the cursor on a line; this will cause syntax or execution errors. Parentheses often surround blocks.


Yes, it's different from most other programming environments... but the way it works isn't quite kept secret either Smile

James

_________________
ddw online: http://www.dewdrop-world.net
sc3 online: http://supercollider.sourceforge.net
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic Moderators: v-un-v
Page 1 of 1 [3 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » Supercollider
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
e-m mkii

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use