Changeset 374 in dev for trunk/abdev/BasicCompiler32


Ignore:
Timestamp:
Nov 26, 2007, 10:47:04 PM (17 years ago)
Author:
dai_9181
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler32/Compile_Statement.cpp

    r373 r374  
    614614    //第2パラメータを取得(in~)
    615615    i=GetOneParameter(Parameter,i,collectionVar);
    616    
     616
    617617    if( !GetVarType( variable, resultType, false ) )
    618618    {
    619619        Type collectionType;
    620         if( !NumOpe_GetType( Parameter, Type(), collectionType ) )
     620        if( !NumOpe_GetType( collectionVar, Type(), collectionType ) )
    621621        {
    622622            isError = true;
     
    625625
    626626        // 未定義の場合は自動的に定義する
    627         sprintf(temporary,"%s%c%c%s", variable, 1, ESC_AS, collectionType.GetActualGenericType(0).GetClass().GetFullName() );
     627        sprintf(temporary,"%s%c%c%s", variable, 1, ESC_AS, collectionType.GetActualGenericType(0).GetClass().GetFullName().c_str() );
     628        MessageBox(0,temporary,"test",0);
    628629        OpcodeDim(temporary,DIMFLAG_INITDEBUGVAR);
    629630    }
Note: See TracChangeset for help on using the changeset viewer.