• 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
  • Bugs
FMSLogo

COPYDEF creates incorrect title line if original procedure name has spaces

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 ▾ ▴
  • Create Ticket
  • View Stats

Group

  • v_6.06x
  • v_6.07.X
  • v_6.08.X
  • v_6.10.X
  • v_6.11.X
  • v_6.13.X
  • v_6.22.X
  • v_6.25.X
  • v_6.26.X
  • v_6.27.X
  • v_6.28.X
  • v_6.29.X

Searches

  • Changes
  • Closed Tickets
  • Open Tickets

Help

  • Formatting Help

#614 COPYDEF creates incorrect title line if original procedure name has spaces

v_6.06x
open
nobody
None
5
2026-05-10
2026-05-10
David Costanzo
No

You can define a procedure name with spaces in it by enclosing the name with vertical bars. However, if you use COPYDEF to copy such a procedure, the title line of the new procedure is corrupted. The first word of the original procedure name is replaced, but the rest, including the ending vertical bar remain. This can be seen with workspace procedures like POT or EDIT. As a result if you EDIT the new procedure name, you get a corrupted procedure that you can't save without further modification.

This is reproducible on FMSLogo 6.23.0 and later. Prior to that Bug #317 existed and it caused the title line of the new procedure to exactly match the title line of the original. My fix for Bug #317 was copied from UCBLogo, which introduced this bug. UCBLogo 6.2 also has this bug.

Steps to Reproduce:

TO |TWO WORDS|
  PRINT [TWO WORDS called]
END

COPYDEF "newname "|two words|
PO "newname

What Happens:
FMSLogo prints

TO newname WORDS|
  PRINT [TWO WORDS called]
END

Expected Result:
FMSLogo prints

TO newname
  PRINT [TWO WORDS called]
END

Related

Bugs: #317

Discussion


Log in to post a comment.

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