• Join/Login
  • Business Software
  • Open Source Software
  • For Vendors
  • Blog
  • About
  • More
    • Articles
    • Create
    • SourceForge Podcast
    • Site Documentation
    • Subscribe to our Newsletter
    • Support Request
SourceForge logo
For Vendors Help Create Join Login
SourceForge logo
Business Software
Open Source Software
SourceForge Podcast
Resources
  • Articles
  • Case Studies
  • Blog
Menu
  • Help
  • Create
  • Join
  • Login
  • Home
  • Browse
  • FMSLogo
  • Code
FMSLogo

FMSLogo Code

A Logo programming environment for Microsoft Windows

Brought to you by: david_costanzo
  • Summary
  • Files
  • Reviews
  • Support
  • Tickets ▾
    • Feature Requests
    • Bugs
    • Support Requests
  • Discussion
  • Code
Menu ▾ ▴
 
  • Browse Commits
  • Browse Files

Commit [r6380]  Maximize  Restore  History

Add logic to evaluator() to handle when the function/expression is a number.

A number is not runnable and so should act as if the procedure is unknown.
Previously, this threw an error during treeification, but a recent bug fix made it so that treeification never throws an error.
That fix introduced a crash when executing a statement like "(2 1)" because the
downstream logic didn't handle when a number was given as a procedure.
This change restores the previous behavior of throwing a "I don't know how to" error, except that it's now recoverable.

david_costanzo 2026-07-29

Browse code at this revision

Parent: [r6379]

Child: [r6381]

changed /logo/trunk/src/eval.cpp
changed /logo/trunk/src/test/parse.lgo
/logo/trunk/src/eval.cpp Diff Switch to side-by-side view
Loading...
/logo/trunk/src/test/parse.lgo Diff Switch to side-by-side view
Loading...
SourceForge
  • Create a Project
  • Open Source Software
  • Business Software
  • Top Downloaded Projects
Company
  • About
  • Team
  • SourceForge Headquarters
    1320 Columbia Street Suite 310
    San Diego, CA 92101
    +1 (858) 422-6466
Resources
  • Support
  • Site Documentation
  • Site Status
  • SourceForge Reviews
SourceForge logo
© 2026 Slashdot Media. All Rights Reserved.
Terms Privacy Opt Out Advertise

Cerberus Logo