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
  Howard Moscovitz Chez Mosc - No show tonight - sorry
Please visit the chat
 Forum index » DIY Hardware and Software » ChucK programming language
ChucK shell - code read/add questions
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [1 Post]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
mpw



Joined: Nov 05, 2010
Posts: 1
Location: Michigan, USA

PostPosted: Fri Nov 05, 2010 7:54 pm    Post subject: ChucK shell - code read/add questions Reply with quote  Mark this post and the followings unread

Anyone familiar with the ChucK shell should hopefully be able to help me...

I am trying to read a .ck source file into the ChucK shell and then add it to the virtual machine.

As I understand, the technique as follows:
Code:

chuck --shell
chuck %> code read file.ck test
chuck %> code add test


This should add the code from file.ck into the default VM that ChucK starts.
HOWEVER
When I attempt this, I receive an error along the lines of:
Code:

[tmp.0.Jn8KOnp]: syntax error
[chuck]: skipping file '/var/tmp/tmp.0.Jn8KOnp' for [add]...
add: error: command failed


I know there aren't actually syntax errors in the code for file.ck, because I can type 'chuck file.ck' and it runs without problem.

Any ideas?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [1 Post]
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 » ChucK programming language
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
Niio2

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