Arc Forumnew | comments | leaders | submitlogin
1 point by globalrev 6098 days ago | link | parent

mzscheme -m -f as.scm 'mzscheme' is not recognized...

this is what i get when trying to run as.scm in DrScheme:

procedure application: expected procedure, given: #f; arguments were: #<struct:fun-syntax> #<syntax:C:\Users\saftarn\Desktop\myanarki\nex3-arc-20af2f3fe921faeca2048d1d932abcdae2a916b4\ffi.scm:18:14>

i tried running as.scm from the DOS-window and it generated the same problem.

the file loads up in DrScheme. then i click Run to start Arc right?

this again: procedure application: expected procedure, given: #f; arguments were: #<struct:fun-syntax> #<syntax:C:\Users\saftarn\Desktop\myanarki\nex3-arc-20af2f3fe921faeca2048d1d932abcdae2a916b4\ffi.scm:18:14>

weirdest thing is it actually worked the first time i ran anarki. i dont remember exactly what i did, is it possible that the first execution could have changed something? or i happened to change some code?

what is the GIT really doing? is it just for downloading new versions? not something i actually will use when programming?



1 point by almkglor 6097 days ago | link

Good, we're getting somewhere. Try editing as.scm in notepad (open notepad and drag it into it). Then find the following line and add a ";" before it:

  (load "ffi.scm")
Then try running it again.

Don't know why FFI isn't working on you, since the line being referenced doesn't actually get used in normal Anarki.

> what is the GIT really doing? is it just for downloading new versions?

Yes, although that's in your case currently.

> not something i actually will use when programming?

Depends. It's what's called a "revision control software". It's like CVS or Subversion (you might have used those). It lets you keep track of changes in your software, and lets you manage the development. For example, you can automatically create versions of software, which you can revert (for example, if a bug is reported by a user in the latest version, you can get a copies of succeedingly older versions until you see the bug disappear. Then you can get the difference between the version-without-bug and the first version-with-bug and see what exactly you changed that could be causing the problem). Up to you to use while programming. Any revision control software is good; git is considered one of the better ones.

-----

1 point by globalrev 6097 days ago | link

ty very very much it is finally working.

-----