Skracanie kodu

Taki kod
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
new szPath[256],iLen = 0;
iLen = get_configsdir( szPath,charsmax( szPath ) )
formatex(szPath[ iLen ], charsmax( szPath ) - iLen,"/diablomod.cfg");
new szPath[256],iLen = 0; iLen = get_configsdir( szPath,charsmax( szPath ) ) formatex(szPath[ iLen ], charsmax( szPath ) - iLen,"/diablomod.cfg");
new szPath[256],iLen = 0;
iLen = get_configsdir( szPath,charsmax( szPath ) )
formatex(szPath[ iLen ], charsmax( szPath ) - iLen,"/diablomod.cfg");
można skrócić do
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
new szPath[256];
formatex(szPath[ get_configsdir( szPath,charsmax( szPath ) ) ], charsmax( szPath ),"/diablomod.cfg");
new szPath[256]; formatex(szPath[ get_configsdir( szPath,charsmax( szPath ) ) ], charsmax( szPath ),"/diablomod.cfg");
new szPath[256];
formatex(szPath[ get_configsdir( szPath,charsmax( szPath ) ) ], charsmax( szPath ),"/diablomod.cfg");

3 komentarzy o “Skracanie kodu

  1. Spójrz na kod:
    iLen = get_configsdir( szPath,charsmax( szPath )
    Czy nie powinno być ?:
    iLen = get_configsdir( szPath,charsmax( szPath ) )

    (chodzi o 1 nawias)

Dodaj komentarz

This site uses Akismet to reduce spam. Learn how your comment data is processed.