• 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

Output from DIALOGFILEOPEN/DIALOGFILESAVE can break workspace editing

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

#549 Output from DIALOGFILEOPEN/DIALOGFILESAVE can break workspace editing

v_6.06x
open
David Costanzo
None
5
2020-09-27
2020-09-27
David Costanzo
No

If you put the output from DIALOGFILEOPEN or DIALOGFILESAVE into a variable, then open the workspace with Edall, the spaces and backslashes aren't escaped properly. As a result, if you can't save a change to the workspace.

I have reproduced this in FMSLogo 7.7.0 and as far back as MSWLogo 6.5b.

I think the value needs to be marked as v-barred.

How Reproducible:
Every Time

Steps to Reproduce:
1) Run MAKE "file DIALOGFILEOPEN "*.*
2) Select a file from a directory that has spaces in the name. This is easier on older versions of Windows, where the "Documents" folder was "C:\Documents and Settings\User\My Documents".
3) Press 'Edall'
4) Make a change unrelated to the file variable.
5) Choose File - Save and Exit

What Happens:
After Step 3, you notice the the spaces and backslashes in the file name weren't escaped by a backslash. It appears as something like

Make "file "C:\Documents and Settings\User\My Documents\myfile.lgo

After Step 5, you get an error when saving the workspace. The command shows an error like

I don't know how to SettingsUserMy

Expected Result
After Step 3, you see that the spaces in the file path are escaped properly.

Make "file "C:\\Documents\ and\ Settings\\User\\My Documents\\myfile.lgo

After Step 5, the workspace is saved without error.

Related

Feature Requests: #126

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