SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
$ARGS$ seems to be broken

 
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant View previous topic
View next topic
$ARGS$ seems to be broken
Author Message
gemisigo



Joined: 11 Mar 2010
Posts: 2109

Post $ARGS$ seems to be broken Reply with quote
$ARGS$ macro seems to be broken. None of these insert anything into the editor:

    $ARGS$
    $ARGS(vertical)$
    $ARGS(types)$
    $ARGS(type_classes)$
    $ARGS(vertical,type_classes)$

Sat Nov 10, 2012 3:55 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7854

Post Reply with quote
I have reported this issue on Saturday. Hope that a fix it for it will be available soon.
Mon Nov 12, 2012 9:33 am View user's profile Send private message
gemisigo



Joined: 11 Mar 2010
Posts: 2109

Post Reply with quote
Thank you very much.
Mon Nov 12, 2012 9:40 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7854

Post Reply with quote
Please see http://www.softtreetech.com/support/phpBB2/viewtopic.php?t=23812
Fri Nov 30, 2012 1:45 pm View user's profile Send private message
gemisigo



Joined: 11 Mar 2010
Posts: 2109

Post Reply with quote
Well, something definitely has changed, but $ARGS$ now displays extremely weird behavior. I've created the following function:
Code:

CREATE FUNCTION dbo.fs_test_function
(
   @first_argument INT
   ,@second_argument VARCHAR(64)
   ,@third_argument BIGINT
   ,@fourth_argument BIT

RETURNS INT
AS
BEGIN
   RETURN 0
END
GO


And the following snippets (with the following results):
Snippet1:
Code:
args:
-- comment
$ARGS$
-- another comment
args_end:


Result1:
Code:
args: -- comment @first_argument, @second_argument, @third_argument,
                 @fourth_argument -- another comment args_end:



Snippet2:
Code:
args_type_classes:
-- comment
$ARGS(type_classes)$
-- another comment
args_type_classes_end:


Result2:
Code:
args_type_classes: -- comment @first_argument int, @second_argument varchar,
                              @third_argument bigint, @fourth_argument bit -- an another comment
args_type_classes_end:



Snippet3:
Code:
args_types:
-- comment
$ARGS(types)$
-- another comment
args_types_end:


Result3:
Code:
args_types: -- comment @first_argument int, @second_argument varchar(64),
                       @third_argument bigint, @fourth_argument bit -- another comment nt
args_types_end:



Snippet4:
Code:
args_vertical:
-- comment
$ARGS(vertical)$
-- another comment
args_vertical_end:


Result4:
Code:
args_vertical: -- comment @first_argument,
                          @second_argument,
                          @third_argument,
                          @fourth_argument -- another cor comment
args_vertical_end:



Snippet5:
Code:
args_vertical_type_classes:
-- comment
$ARGS(vertical,type_classes)$
-- another comment
args_vertical_type_classes_end:


Result5:
Code:
args_vertical_type_classes: -- comment @first_argument,
                                       @second_argument,
                                       @third_argument,
                                       @fourth_argument
-- another comment
args_vertical_type_classes_end:


Are there any changes in DB Queries that could be the cause of this?
Sat Dec 01, 2012 3:56 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7854

Post Reply with quote
Thank you for your continues and valuable feedback. We have sent you a link for the private build 6.3.170. Please let us know if this issue has been fixed in that build and the $ARGS$ is working correctly in that build.
Mon Dec 03, 2012 1:32 pm View user's profile Send private message
gemisigo



Joined: 11 Mar 2010
Posts: 2109

Post Reply with quote
Yes, it is, thank you very much for the quick fix.
Tue Dec 04, 2012 4:30 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.