Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 7th December 2009, 00:36   #11  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,405
GScript version 1.1 now available

This is an update to fix a few problems. A minor extension regarding comments is also included.

Bugs fixed:
- On some systems, a crash would occur when GScript attempted to report any kind of error (eg syntax error or Assert failure).
- In a 'while' loop, the conditional test was evaluated before any implicit assignment to 'last' on the final statement of the block, potentially causing the wrong value of 'last' to be used in the condition.
- When incrementing a 'for' loop variable at the end of the loop body, any user assignments to the variable in the body were ignored.

New extension:
- Within GScript, comments are allowed before a '{'.
This applies not only in the GScript constructs (if, etc), but also to standard uses of '{' in function declarations and try/catch. Arguably, it is a bug that Avisynth itself does not permit this (see this thread).

Get the latest version from the first post in this thread.
For a limited period, also available here:
http://www.sendspace.com/file/9cfhfp

Last edited by Gavino; 7th December 2009 at 00:38.
Gavino is offline   Reply With Quote
 

Tags
for-loop, if-then-else, while-loop

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:08.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.