Jump to content

Photo

MEM.zh? .std import Scripting Problem


  • Please log in to reply
3 replies to this topic

#1 Local_Droog

Local_Droog

    Newbie

  • Members
  • Real Name:Droog
  • Location:Athens GA

Posted 30 May 2018 - 02:13 PM

So Im trying to import "std.zh" but when I do it gives me this error message!

 

std.zh line22 error po1 failure to parse imported file mem.zh

 

Should I change this or what? Im rather new to scripting 

 

 



#2 Timelord

Timelord

    The Timelord

  • Banned
  • Location:Prydon Academy

Posted 31 May 2018 - 06:25 AM

What ZC version are you using? I pruned mem.zh from the interim std.zh developmental changes ages ago. No current version should call that.

#3 Timelord

Timelord

    The Timelord

  • Banned
  • Location:Prydon Academy

Posted 31 May 2018 - 08:11 AM

So Im trying to import "std.zh" but when I do it gives me this error message!

std.zh line22 error po1 failure to parse imported file mem.zh

Should I change this or what? Im rather new to scripting

P.S. The current std.zh files are in this package:
ZC 2.53.0 Beta 15 (Windows)

You can safely migrate to those. If they're trying to import mem.zh, remove that line from std.zh.

The mem.zh header was something that I made, added to the package (Jan 2016!) and ripped out because I wasn't happy with it. The general idea was to provide some basic memory management utilities, but it was just awful. I might rewrite it at some point, fix its issues, and make it available as an add-on, but it was sort of silly.

You don't need it, in any case.

#4 Local_Droog

Local_Droog

    Newbie

  • Members
  • Real Name:Droog
  • Location:Athens GA

Posted 31 May 2018 - 04:42 PM

P.S. The current std.zh files are in this package:
ZC 2.53.0 Beta 15 (Windows)

You can safely migrate to those. If they're trying to import mem.zh, remove that line from std.zh.

The mem.zh header was something that I made, added to the package (Jan 2016!) and ripped out because I wasn't happy with it. The general idea was to provide some basic memory management utilities, but it was just awful. I might rewrite it at some point, fix its issues, and make it available as an add-on, but it was sort of silly.

You don't need it, in any case.

 

Thanks I just changed from Beta 2.53 to the More Stable 2.50 and its working fine. 




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users